<!DOCTYPE html>
<html>
<head>
	<title>营销机会管理</title>
	<#include "../common.ftl">
</head>
<body class="childrenBody">

<form class="layui-form" >
	<blockquote class="layui-elem-quote quoteBox">
            开发机会列表
	</blockquote>

    <fieldset class="layui-elem-field layui-field-title">
       <#-- <legend style="color: red" align="center">开发机会信息列表</legend>-->
        <div class="layui-field-box" align="center">
            <form class="layui-form">
                <div class="layui-inline">
                    <#if permissions?seq_contains("101004")>
                        <div class="layui-input-inline">
                            <input type="text" name="customerName"
                                   class="layui-input
                        searchVal" placeholder="客户名" />
                        </div>
                        <div class="layui-input-inline">
                            <input type="text" name="createMan" class="layui-input
                        searchVal" placeholder="创建人" />
                        </div>
                        <div class="layui-input-inline">
                            <select name="state"  id="state">
                                <option value="" >分配状态</option>
                                <option value="0">未分配</option>
                                <option value="1" >已分配</option>
                            </select>
                        </div>
                        <a class="layui-btn search_btn" data-type="reload"><i
                                    class="layui-icon">&#xe615;</i> 搜索</a>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </#if>

                </div>
            </form>
        </div>
    </fieldset>
    <hr>
    <div >
        <a class="layui-btn" data-type="reload" id="refresh"><i
                    class="layui-icon">&#xe669;</i> 刷新</a>
    </div>

    <hr>

    <#--容器表格，显示数据-->
	<table id="saleChanceList" class="layui-table"  lay-filter="saleChances"></table>

    <#--头部工具栏-->
    <script type="text/html" id="toolbarDemo">
        <#if permissions??>
            <div class="layui-btn-container">
                <#if permissions?seq_contains("101001")>
                    <a class="layui-btn layui-btn-normal addNews_btn" lay-event="add">
                        <i class="layui-icon">&#xe608;</i>
                        添加
                    </a>
                </#if>
                <#if permissions?seq_contains("101002")>
                    <a class="layui-btn layui-btn-normal delNews_btn" lay-event="del">
                        <i class="layui-icon">&#xe608;</i>
                        删除
                    </a>
                </#if>
            </div>
        </#if>
    </script>

	<!--行工具栏-->
	<script id="saleChanceListBar" type="text/html">
		<#if permissions??>
			<#if permissions?seq_contains("101003")>
				<a class="layui-btn layui-btn-xs" id="edit" lay-event="edit">编辑</a>
			</#if>
			<#if permissions?seq_contains("101002")>
				<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
			</#if>
		</#if>
	</script>

</form>
<script type="text/javascript" src="${ctx}/js/saleChance/sale.chance.js"></script>

</body>
</html>